package com.cn.data.jpa.tool.spring.ioc.bean.xml;

import org.springframework.beans.factory.FactoryBean;

public class MyCarFactoryBean implements FactoryBean<Car> {
    @Override
    public Car getObject() throws Exception {
        return new Car();
    }

    @Override
    public Class<Car> getObjectType() {
        return Car.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
